/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ru.ssau.berlin.framework.validate;

/**
 *
 * @author Caesar
 */
public class IntegerValidator implements TypeValidator {

    public boolean isValid(String value) {
        try {
            Integer.parseInt(value);
        } catch (NumberFormatException ex) {
            return false;
        }
        return true;
    }

}
